from rest_framework import serializers
from orders.models import OrderInfo


class OrderSerializer(serializers.ModelSerializer):
    """
    订单序列化器
    """
    class Meta:
        model = OrderInfo
        fields = "__all__"
